package com.junko.admin.controller.back;

import com.junko.admin.controller.BaseBackendController;
import com.junko.service.back.IAdminService;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

@Controller
@RequestMapping("/b")
public class BackIndexController extends BaseBackendController {
    private Logger logger = LogManager.getLogger(BackIndexController.class);
    @Resource
    private IAdminService adminService;

    @RequestMapping
    public String index(){
        return "/back/index/index";
    }

    @RequestMapping("main")
    public String main(){
        return "/back/index/main";
    }
}